﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DB;
using CVTH.Helper;

public partial class Admin_User_AddGroup : BasePage
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void lnkSave_Click(object sender, EventArgs e)
    {
        Group group = new Group
        {
            GroupName = txtGroupName.Text,
            Description = txtDescription.Text
        };
        GroupHelper.InsertGroup(group);
        Response.Redirect(constructUrl("admin/user/Group"));
    }
    protected void lnkClose_Click(object sender, EventArgs e)
    {

    }
}